<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
        <title>Crimsonfae - {{pagetitle}}</title>
        {%for style in css %}<link type="text/css" rel="stylesheet" href="{{style.url}}"/> 
        {% endfor %}
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    </head>
    <body>
        <div id="title">
        <img src="/static/Logo.png" alt="CrimsonFae" />
        </div>
        <div id="menu">
            <ul>
                {% for page in pages %}
                    <li><a href="/{{page.link}}/">{{page.name}}</a></li>
                {% endfor %}
            </ul>
        </div>
        <div id="mainbody">
            <div class="article left">{% block body %}{% endblock %}
            </div>
            {% block sidebar %}
            {% endblock %}
        </div>
        <div id="footer">
            &copy; 2010 Michael Penhallegon
        </div>
    </body>
</html>
